package com.ruoyi.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 平台相关文档对象 cms_document
 * 
 * @author zouhuu
 * @date 2022-08-04
 */
public class CmsDocument extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 文档类型(0其他 1协议 2资料) */
    @Excel(name = "文档类型(0其他 1协议 2资料)")
    private Integer docType;

    /** 文档标题 */
    @Excel(name = "文档标题")
    private String docTitle;

    /** 文档简介 */
    @Excel(name = "文档简介")
    private String docBrief;

    /** 文档图片 */
    @Excel(name = "文档图片")
    private String docImg;

    /** 内容详情 */
    @Excel(name = "内容详情")
    private String docDetail;

    /** 文档附件 */
    @Excel(name = "文档附件")
    private String docAttach;

    /** 删除状态(0未删除 1已删除) */
    private Integer delFlag;

    /** 数据状态(0正常 1停用) */
    @Excel(name = "数据状态(0正常 1停用)")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDocType(Integer docType) 
    {
        this.docType = docType;
    }

    public Integer getDocType() 
    {
        return docType;
    }
    public void setDocTitle(String docTitle) 
    {
        this.docTitle = docTitle;
    }

    public String getDocTitle() 
    {
        return docTitle;
    }
    public void setDocBrief(String docBrief) 
    {
        this.docBrief = docBrief;
    }

    public String getDocBrief() 
    {
        return docBrief;
    }
    public void setDocImg(String docImg) 
    {
        this.docImg = docImg;
    }

    public String getDocImg() 
    {
        return docImg;
    }
    public void setDocDetail(String docDetail) 
    {
        this.docDetail = docDetail;
    }

    public String getDocDetail() 
    {
        return docDetail;
    }
    public void setDocAttach(String docAttach) 
    {
        this.docAttach = docAttach;
    }

    public String getDocAttach() 
    {
        return docAttach;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("docType", getDocType())
            .append("docTitle", getDocTitle())
            .append("docBrief", getDocBrief())
            .append("docImg", getDocImg())
            .append("docDetail", getDocDetail())
            .append("docAttach", getDocAttach())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
